cmake_minimum_required(VERSION 3.0.0)
project(cgal210531 VERSION 0.1.0)


cmake_policy(SET CMP0074 NEW)

find_package(Boost 1.76.0)
if(Boost_FOUND)
  include_directories(${Boost_INCLUDE_DIRS})
endif()

find_package(CGAL)
if(CGAL_FOUND)
  include_directories(${CGAL_INCLUDE_DIRS})
endif()

find_package(GMP)
if(GMP_FOUND)
  include_directories(${GMP_INCLUDE_DIR})
endif()

find_package(MPFR)
if(MPFR_FOUND)
  include_directories(${MPFR_INCLUDE_DIR})
endif()

add_executable(cgal210531 main.cpp)
target_link_libraries(cgal210531 ${GMP_LIBRARIES} ${MPFR_LIBRARIES})
